[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                        24.4 Different labels

     @echo off
     rem            --- We end up here after every BBS call
     :loop

     C:
     CD \FD
     FD

     rem            --- Check errorlevels returned by the Mailer

     if errorlevel 200 goto b9600
     if errorlevel 199 goto b2400
     if errorlevel 198 goto b1200
     if errorlevel 197 goto b300
     if errorlevel 100 goto mailIN
     if errorlevel  10 goto userBRK
     if errorlevel   1 goto FDerror

     :mailIN

     rem            --- Process possible echomail, etc.

     tosscan toss
     tsutil link -t
     goto loop

     :b9600

     Load BBS software for incoming call at 9600 bps
     goto loop

     :b2400

     Load BBS software for incoming call at 2400 bps
     goto loop

     ..
     ..
     :userBRK
     cls
     @echo     User break.
     goto      done

     :FDerror
     @echo     Mailer returned an error (1-9)

     :done


     While this option works just fine for a environment where it is
     not critical that the BBS software knows about upcoming events
     etc. it is somewhat limited.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson